home *** CD-ROM | disk | FTP | other *** search
/ bioinformatics.org / bioinformatics.org_software.tar / www.bioinformatics.org / download / ecell2 / ecell220setup.exe / {app} / standard / STDR / ConstantParameterReactor.rd < prev    next >
Text File  |  2000-03-03  |  782b  |  42 lines

  1. @CLASSNAME:    ConstantParameterReactor
  2. @BASECLASS:    Reactor
  3. @BRIEF_DESCRIPTION:Sets constant parameter
  4.  
  5. %VERSION:    ecs-v08, 0.1
  6. @DATE:        18/7/1999
  7.  
  8. @AUTHOR:    Yusuke Saito
  9. @EMAIL:        t96406ys@sfc.keio.ac.jp
  10.  
  11. @DESCRIPTION:A reactor class where activity is maintained at the
  12. parameter value.
  13.  
  14. For example, if a parameter defining system value is applied, volume
  15. value is defined by the activity of the ConstantParameterReactor.
  16.  
  17. In this case, the `InitialActivity' of this reactor must be specified
  18. in the Rulefile.
  19.  
  20. @EQUATION:    $$ Activity = Value $$
  21.  
  22. @PRIVATE:
  23.   Float _value;
  24.  
  25. %PARAMETER:    Value, Float, , Parameter 
  26.  
  27. %INCLUDE_FILE_H: StandardHeaders.h
  28.  
  29. %INCLUDE_FILE_C: Stepper.h
  30.  
  31.  
  32. @REACT_FUNC:           
  33.   _value = Value * supersystem()->stepper()->deltaT();
  34.   setActivity(_value);
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.